<?php
/**
 * Created by PhpStorm.
 * User: Vito
 * Date: 2022/5/19
 * Time: 15:08
 */

namespace app\admin\controller\v1;

use app\service\HttpService;
use app\admin\controller\BaseController;
class ThirdParty extends BaseController
{
    public function index()
    {
        $http = new HttpService;
        // $response = $this->logic->admin();
        // $data = [
        //     'id'=>1
        // ];$http = new HttpService;
        $url  = 'http://expressbox.liuchaoai.com/lockboxapi/addons/lockers/Order/getAllList';
        // $url = 'http://127.0.0.1:8011/addons/lockers/Order/getAllList';

        $res = $http->senHTTP($url, null);
        $arr = json_decode($res);
        return success($arr->data);
        

        // return success($data);
    }
    // 获取快递柜使用状态
    // public function getAllList()
    // {
        
    // }
}